-- card: 66086 from stack: in -- bmap block id: 61919 -- flags: 4000 -- background id: 4754 -- name: Query ----- HyperTalk script ----- on rollingDemo answer "Query demo will take approx. 1 min." with "Cancel" or "OK" if it is "Cancel" then exit rollingDemo set the cursor to none lock screen go to card "Rolling Demo Instructions" of this background unlock screen with dissolve fast repeat until the mouseClick end repeat set the cursor to hand autoMouse moveMouse,420,60 click at the loc of bg button id 7 showInfo "Introduction",true wait 1 second set the cursor to hand autoMouse moveMouse,222,149 click at the loc of card button id 2 wait 1 second autoMouse moveMouse,135,172 click at the loc of card button "Menu" wait 3 seconds click at the loc of card button id 1 wait 3 seconds autoMouse moveMouse,50,84 click at the loc of background button id 2 wait 3 seconds autoMouse moveMouse,95,84 click at the loc of background button id 3 wait 3 seconds autoMouse moveMouse,182,84 click at the loc of background button id 5 wait 3 seconds autoMouse moveMouse,225,84 click at the loc of background button id 6 wait 3 seconds autoMouse moveMouse,268,84 click at the loc of background button id 7 wait 2 seconds autoMouse moveMouse,120,120 click at the loc of card button "Term Info" wait 3 seconds click at the loc of card button id 1 wait 2 seconds autoMouse moveMouse,43,53 click at the loc of background button "Close" wait 1 second autoMouse menuMouse,1,1 -- About if the result is "Item not found" then -- test for XCMD bug send "doMenu About" to background "Query" end if end rollingDemo on showInfo fieldName,cardPict lock screen set the cursor to none restoreMenuBar false grayPicture cardPict installMenuBar 1110,1111,1112,1113 show card field fieldName unlock screen with dissolve put the secs into temp repeat until the mouseClick if (the secs - temp) > 30 then show card field "Continue" end repeat lock screen hide card field fieldName hide card field "Continue" pop card unlock screen with dissolve if the optionKey is down then exit to HyperCard end showInfo -- part 1 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=418 top=168 right=214 bottom=500 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Mask -- part contents for background part 5 ----- text ----- Query -- part contents for background part 6 ----- text ----- The Mac School Query module is an easy-to-use graphically oriented management tool that is used to search and view the information stored in the Mac School database. The module is ‘view only’ and can be used to: • View the list of students attending the school; this list can be sorted on a number of keys. • View a student’s timetable to identify his/her teacher, class and room number at any time throughout the day. • View a student’s attendance records for a selected date or for a range of days. • View student marks for selected terms or across all terms. • Access pertinent student demographic information in the event of a medical emergency. • Access contact names, telephone numbers and legal alert information. • and much more!